Make browserid work on Node 0.10

This is a combination of @lloyd's nodejs-0.10.0 branch as well as an update to the bundled lockdown script.