Adding tests to demonstrate object definition bug and new functionality

thlorenz/proxyquire#25
Added preserveCache and noCache methods and updated documentation

thlorenz/proxyquire#25