Silence a deprecation warning and use new default

This setting changes in rails 4.0.2 to validate locales are correct and
in tests Use a locale that exists as they are now validated
Merge pull request #933 from theodi/feature-validate-locales

Use rails 4.0.2 default for enforce_available_locales
Don’t default host setting to pow default

The app is guaranteed to be run under pow or to be named the same
Fix a copypaste error and cover with tests
Use other quotes instead of escaping

Just to make it a bit more readable.
Render generation result even if there is no user email
Use user model method
Use delegator instead of duplicating nil checks
Use boolean type instead of a string

  * JSON can encode true/false values as literals so no need to use strings
  * Lack of value will still count as false
  * "true" via counts as true so will still work,
  * "false" is still not #blank? so it would’ve behaved as true previously
No need to define `campaign` as nil

The assignment to `campaign` in the if block still creates the variable in local scope and it is defaulted to nil
Use ActiveRecord#increment!
Limit certificate campaigns to the creating user

If another user creates a campaign of the same name it shouldn’t
add to another users campaign
This method exists to assign ownership

It does all the required model changes in once place
Only create user if publisher has contact email

DataKitten can return a publisher object without an mbox field
If user creation fails fall back to api user