Bypass mode for development (for instance)

A simple implementation to allow bypassing asynch invocation for development mode or whatever. Instead of hard coding this for Rails.env.test? a support is also added for an external hook to get similar behavior,