Fix typo in method name.
[travis] gcc 4.9
[travis] Use older swig.
[travis] Fix swig directory error.
Fix CMake bug that prevented users from specifying their own CMAKE_(C|CXX)_FLAGS.
[swig] omit superfluous virtual method definitions

http://www.swig.org/Doc1.3/Modules.html

Trying to reduce size of generated source code.
[travis] Build with less jobs

Hoping to fix gcc failure.
Update .travis.yml
[travis] build only osimJavaJNI.
Ignore register deprecation warnings for python.

Also, CMake enforced that we require swig 2.0.10 or greater.
[travis] With gcc, build osimJavaJNI first.
[travis] Fix bug in bash if statement.
[travis] Speed up build for gcc.
[travis] Remove -fvirtual flag.
[travis] For gcc, build only osimJavaJNI first.
Get a const ref of labels to test uniqueness
Serialize VisualObject for Body's.

Previously, VisualObjects were not being parsed from the XML, and they were not
being written out either.
Merge pull request #134 from opensim-org/travis-gcc-crash

Important thing is it builds and passes. So I am merging it. We can open another issue to streamline the travis build. Maybe by leaving out the JNI build from gcc? Let's discuss.
Merge pull request #139 from opensim-org/body-visual-object

Serialize VisualObject for Body's.
Merge branch 'master' into cmake_cxx_flags