Remove deprecated active record method.

Rails 4 deprecates the find_or_create_by helpers. This change removes
any deprecation warnings while maintaining backwards compatibility with
Rails 3.

Change-Id: I9b5723f5b6035adaefd9be2e360a96d8a161c203
Old style Ruby hash syntax.

Just in case anyone's not using Ruby 1.9.

Change-Id: Ic766b4015575e35ad8e947f993aca7ba5ad9a8bd
Merge pull request #129 from freerunningtechnologies/master

Replace deprecated find_or_create_by.