Reorganized code.
Removed 1.8-style hashes.
Updated travis gemfiles.