sort system tables in test-cleandb and fix typo in config
Depend on restbase-cassandra 0.3.0 & release restbase v0.3.0
Reload the registry when a table / bucket is not found

Fixes: https://phabricator.wikimedia.org/T76492
Generalize registry reloading & start introducing HTTPError

- Generalize registry reloading to most operations in storage.js
- Add an HTTPError class in rbUtil (renamed from util to avoid clashes with
  node's util module), and handle it in server.js
- Separate out response handling in server.js
- Disable a previously falsely passing test (which used baseURL instead of
  bucketURL). We don't fetch wikitext (yet), so don't test for it.

Fixes: https://phabricator.wikimedia.org/T76492
Starts fixing: https://phabricator.wikimedia.org/T76693
Add rudimentary mechanism for injecting CORS headers
Move CORS logic out of restbase.js and into server.js
Remove changes to restbase.js
Merge pull request #68 from hardikj/config-fix

sort system tables first in test-cleandb and fix typo in config
Merge CORS handling branch

- Integrate the CORS headers into the generic handleResponse method
- Add comment to disabled proxy handler test
Merge concurrent refactors

Had to fix up a bunch of things:

- use en.wikipedia.test.local consistently
- use 'pages' bucket consistently
- switch to rbUtil.js

Conflicts:
	lib/filters/bucket/pagecontent.js
	test/simple.js
Commit merge fix-ups
Merge remote-tracking branch 'wikimedia/master'
Merge branch 'master' into refactor-parsoid
Make sure that the conf directory stays around

Git doesn't normally preserve empty directories, which broke startup since the
server does a read on that directory. Add a README to make sure the directory
exists.
Merge testHandler back into its intended location

I somehow managed to move it into lib/ in the earlier merge, so move it back
to lib/filters/conf.
Use preq in the web handler & bump preq version to 0.2.6
Improve error logging

Always log full error information including request & response in
handleResponse.
Fix cleandb.sh script

Note: Those hash sections include the bucket name, so will change when the
bucket name changes.
Bump preq up to 0.2.7

The constructor-style call was not properly tested in preq, and remote request
failures were covered up locally by the broken cleardb.sh script. Preq 0.2.7
fixes the issue, so bump the dependency.
Merge pull request #71 from gwicke/refactor-parsoid

Merge refactor branch