enable travis testing on os x

rearrange travis builds

switch to @tkelman's travis script
Merge pull request #289 from JuliaOpt/travis_osx

enable travis testing on os x