Fixed 'npm search <packagename>'

The /:name/:version route was catching the /-/all route.  This
caused the search to not work correctly.  Moved the /-/all route
earlier in the code to ensure it would catch the search call first.
Also added unit tests for searching for a package which has been
published previously and a test for searching for a package which
has not been published.
0.1.4
Added .travis.yml
Added AUTHORS file.
README: added build & npm badges.
test: fixed `npm search` tests failing on CI

Fixed `helpers.runNpmInDirectory()` to configure custom npm cache directory.
This ensures that both developers and CI server use the same cache.

Fixed `npm search` tests to clean the npm cache before running the test. This
solves the problem where the test was failing because npm was using a stale
cached search result.

Added more debug logging to help troubleshoot failing tests.

Modified `helpers.runNpmInDirectory()` to pass `enc` to `child_process.exec()`,
now it's no longer necessary to convert `stdout` and `stderr` to string.
Fixed 'npm search <packagename>'

The /:name/:version route was catching the /-/all route.  This
caused the search to not work correctly.  Moved the /-/all route
earlier in the code to ensure it would catch the search call first.
Also added unit tests for searching for a package which has been
published previously and a test for searching for a package which
has not been published.
Merge with upstream