Use javascript_include_tag helper to include javascript

Use Rails helper to include javascript. Assets pipeline divides manifest into separate files if assets.debug is true
Merge pull request #2215 from tank-bohr/master

Include JS in layout with rails helper
remove redundant set of tests

This code almost exactly mirrors the tests abve it. The only difference
being that this uses `button_html` while the other uses `label` when
dealing with `f.action`.

We shouldn't be testing Formtastic's public API, so I'm removing the
second set of tests.
add test to ensure that form attribute labels are translated

for #2012
starting to integrate changes for #2002
adding the changes for locales #2002
updating test #2002
fixing the dropdown issue #2002
moving the validation to the correct method in forms.rb #2002
testing a no change commit #2002
fixing the language dupe issue #2002
updating the string filter to use the new module #2002
updating regex and method for search fix #2002