[api] initial porting to rails 4
[api] remove attr_accessible, no longer necessary with rails 4, which forbids mass assignment by default
[api] remove deprecated find calls

using database_cleaner from git
[webui] initial porting - compass is not yet ready ;(