Rails 4 support

Some minor updates for Rails 4; may break Rails 3 compatibility (i.e. moving to strong_parameters)