Fix exception when specifying version.

The execute_pre_deploy_hooks method wasn't passing an
application_objects value, and the objs array wasn't being initialized
if application_objects was unset.
Merge pull request #2 from pkwarren/fix_pre_deploy_hooks

Fix exception when specifying version.