refactored hooks.js into mn-hooks.js that is not tied to jquery

So that we can use it for Angular based UI.

As part of that work some responses were actually fixed. Like addition
of evictionPolicy to bucket details. Lack of which caused UI to crash.

Change-Id: Id34e6ddc1aa4402aec9096c06a5b2d27c96aa5b6
Reviewed-on: http://review.couchbase.org/41009
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>