refactor(server): better resolve and respond
refactor(server): better resolve and respond

We'll use the exact same regex used by Bower itself internally to
extract the slug of the package. This way it's more stable than what
we previously had.
Also, standardize responses, using always text/plain with the HTTP
code text.

injoin/plook