Add registry validator test; 	make 404 responses compatible with npm API

The previous pull request #56 made the 404 response for unknown
package *name* correct, but broke the expected format of the 404 response
for unknown package *version*.

This pull request fixes the problem.

The first commit adds a test suite executing npm commands agains the Sinopia registry.

The second commit implements the necessary changes in Sinopia.