Fix #539 Removed create site button when user has no update permissions in collection

--HG--
branch : bug-fixing-jun-2014
Merge

--HG--
branch : bug-fixing-jun-2014
Replaced a status 404 for 403 on cancan error

--HG--
branch : bug-fixing-jun-2014
Fix #606 and removed a debugger left behind

--HG--
branch : bug-fixing-jun-2014
Fix #710 registers users which are not members of a public cllection can see it, but not settings

--HG--
branch : bug-fixing-jun-2014
Merge branch 'master' of github.com:instedd/resourcemap into bug-fixing-jun-2014

# By Juan Blandini (25) and others
# Via Ary Borenszweig (5) and others
* 'master' of github.com:instedd/resourcemap: (94 commits)
  Fix for #719 Can't access public collections as guest
  Updating app.js locales
  Updating french app.po
  Fix for #728. Now it only sends the selected item on the url, and calculates the hierarchy on server side
  Update deploy tasks to use github
  Replaced .hgignore with .gitignore
  Bumped version for dist package generation.
  Added Poirot
  Ensure API membership set_admin endpoint returns ok if the operation actually succeeded.
  Updated export layers rake task (had been broken since we implemented i18N)
  Removed unneeded references to RubyProf. Merged two profiling helpers.
  Delete a collection is now faster
  Updated locales files
  Fixes #727 Disabled name and location radio boxes for none on anonymous if there are read permissions active
  Refactor over layer.rb to move the activity creation methods to a concern. Related to issue #724
  Bumped RM version
  Bump RM version
  Refactor over layer.rb to move the activity creation methods to a concern. Related to issue #724
  Optimized ImportWizard validation algorithm.
  Optimized site count query in collection API.
  ...

Conflicts:
	app/controllers/application_controller.rb