add mock library _.mock(), and _.mock.req, and tests
update exceptions thrown by mock
fix shrinkwrap
fix error in mock