Mechanism to use Rails translations in JavaScript

Conflicts:
	app/assets/javascripts/application.js
Fix lint errors
Merge pull request #336 from sharetribe/javascript-translations

Mechanism to use Rails translations in JavaScript