fix beforeDestroy and afterDestroy hooks not trigered if called with destroyById

fixes:
https://github.com/strongloop/loopback-datasource-juggler/issues/202
https://github.com/strongloop/loopback-datasource-juggler/issues/142

Thanks to @jcsmesquita
Why fire a 404 error from dao?