Move models to root directory.

The shared directory was a vestige of the old proxymachine based setup
that's no longer in affect.
Remove ApiRequestLog model since it's no longer used.

This has gone away since log data now goes into ElasticSearch.
Fix a couple XSS possibilities in the datatables.
Web admin UI for custom, per-user rate limits.

The per user rate limits are now the more granular type that can be
defined on any interval, like the new API backend limits.

The whole API user management interface has been Ember-ified so we can
leverage the same nested dynamic forms we use for managing these rate
limits for APIs.

This also fixes some bugs with the Selectize Ember view when the model
data isn't present on load, and is loading from ajax. In that case, the
Selectize view was being left empty. Now it stays in sync with the model
data even if it wasn't present on initial load.
Hide full API key from admins 10 minutes after creation in the new UI.
Fix terms and conditions checkbox not being required in admin form.
Update user forms to show create/update timestamps and info.
Upgrade gems.
Merge branch 'user_rate_limits'
Better setup for using different secret keys on real servers.
Rename Rails app name just to tidy things up.

This also helps so I don't keep seeing "development" when it's actually
"developer".
Get specs running again (as lackluster as they currently are).

The lack of warden/devise was throwing the controller tests off due to
Mongoid::Userstamp and factories creating api users.
Fix rate limit distributed auto determination.

This was intended to be based on the duration, not the accuracy.
Migrate to new custom rate limits implementation.
Merge branch 'master' into gsa

Conflicts:
	Gemfile
	Gemfile.lock
	app/controllers/admin/api_users_controller.rb
	app/controllers/application_controller.rb
	app/models/api_user.rb