basic JavascriptIntegrationTest

I ran all the existing integration tests with this setup and they worked fine.

The poltergeist tests are a lot slower though. So we'll only use that for when we really need it... i.e. for js tests.
add first js test and fix tagging pages
add page type to default page name in tests

this helps with debugging
make sure vote styles only affect votes

using a context and a local class for this... curious to see how this works out.
move failing js test into rate_many_page_test
mostly fixed rate many page
add page and mods tests to default task
cleanup most of the gallery unit test - one failing now
reworked gallery functional controllers some
fix asset tests that were moved into main app
remove test for outdated progress bar tags

We now use xhr.upload event handlers. They should not require any server side things.
bring back the progress bar in file uploads
cleanup asset permissions some
fix page unit tests
skip survey test that tries to mass assign attributes

We're disabling survey pages for the time being anyway.
Also we will use strong_params to fix mass assignments -
so no use in fixing the test now.
run all pages tests even if unit tests fail

Also... do not run mods tests for now.
test for breaking locks in Wikis::LocksControllerTest
fix wiki page functional tests
fix ranked vote functional tests
hide_action :initialize