Add Nightwatch functional browser tests to test Fauxton

This commit adds a basis for using Nightwatch's functional
browser testing environment to test Fauxton.

Closes COUCHDB-2369
add license headers