fixed miscellaneous build warnings
added travis and appveyor build files. Updated readme to point at travis and appveyor for build badges.