Add more member functions in 2D particle classes.
For Travis CI - switch CI build to use OS X build environment.