Configure the library for running on TravisCI

Removed dummy apps (we load the schema and models
necessary for testing). Added .travisci.yml with
a variety of environments to test. Added gemfiles
for rails 3, 4, and edge.
Add test to combine polymorphic associations