Ensuring that deferred services are set on the application before eager services are registered. Fixes #265.

Signed-off-by: Ben Corlett <bencorlett@me.com>