use custom column coder

Fix uniqueness validation with Active Record
update rails 4 gemfile
Merge pull request #112 from brainspec/validate-uniqueness

Fix uniqueness validation with Active Record