Merge pull request #144 from acmetech/master

minor refactoring of object_type_base
Merge pull request #145 from acmetech/master

rails best practices - convert tabs to spaces
Merge pull request #146 from acmetech/master

Extra empty line detected at body beginning and end
Changed create to build for factory validation.
Added factories for every models.
Added spec file for every model.
Basic Tie spec.
Merge pull request #149 from acmetech/master

use moment.js to mimic the Rails time_ago_in_words helper