Travis: cleaned up dependency installation

Moved installation commands into separate scripts
travis: Only build glfw on linux, install rest of osx deps

Added GLFW3 and pkg-config
Travis: Uses Xcode for OSX, combines dependency scripts, adds build script