this patch adds building on ubuntu bionic that has a newer gcc while keeping ubuntu xenial (default on travis-ci) it also adds macosx since it was very easy to add and it's a platform we can build for
* add travis and appveyor build scripts * add travis and appveyor badges to README.md