added ability for a before hook to cancel resource creation by returning...

... false