This introduces a new middleware method, staticViews, that works as
a catch-all to render views that don't need template data. That way
they can extend layouts and stay up to date much more easily.
staticViews improvements:
  from feedback, changed name to staticTemplateViews;
  rethrows non "template not found" errors;
  some refactoring to clarify logic;
  limiting the urls it operates on
Add view search path prefixing to limit statically renderable templates.
get rid of failing issuer frame test. we can rez it later if needed.
Got rid of acceptance-test/local-config.js.sample, revised its README.

Now everything is configurable through environment variables, with
sensible defaults.
fixed SELENIUM_APP_URL default.
migrated acceptance test from selenium RC to webdriver/selenium 2.
prepare test db before running acceptance tests.
Explicitly set the content-type of backpack connect errors to text/plain.

This also required changing conmock.js' type() implementation, since
express allows it to be chained, while our mock doesn't.
converted acceptance-test/run-tests.js to use tap.
added acceptance-test-utils.js tests and a bit of documentation.
Acceptance tests now end in .atest.js.

They're different enough from normal tap tests that I don't think they
should have the .test.js extension, but I would like to maintain that
naming style, so .atest.js seemed reasonable.

Also imported the acceptance test function as 'acceptanceTest' instead
of 'test' in login.atest.js, to make sure they don't get confused with
standard tap tests.
added docs for sauce labs.
Merge pull request #847 from toolness/bpconnect-text-errors

Explicitly set the content-type of backpack connect errors to text/plain
Fix broken badge uploads
Merge pull request #842 from stenington/static-template-views

staticTemplateViews middleware
Merge pull request #848 from toolness/saucelabs-integration

Migration of acceptance test from Selenium RC to Webdriver, Saucelabs integration
This commit slots in a new migration before remove-non-normalized-badge-uploads
to add an ON DELETE CASCADE clause to the badge_image table foreign key
constraint. The former failed in production due to foreign key constraints with
the badge_image table; running both of these together should allow the
fix to succeed.
Remove hardcoded reference to 'openbadges' in migration
Merge pull request #852 from stenington/828-broken-upload

Add ON DELETE CASCADE to badge_image table