Updated attribute types

Changed int to integer as int is not a valid type in waterline
Merge pull request #271 from ericchu94/patch-1

Updated model attribute types