require activemodel for rails 4.
remove simpleform for tests.
use form_for instead of simpleform.
use rails 4.0 for test.
change API tests to not use simple_form but form_for as it would require a complicated bundler setup.
move view model code to separate file.