Infer dependencies from function arguments and local bound functions

This PR addresses an issue where dependency inference wasn't working properly for properties that were passed in as arguments to functions. 

I'm pretty new to Ember/EmberScript so hopefully I'm not going about this in completely the wrong fashion :)