Add interface for ResourceManager
Update concrete uses of ResourceManager in signatures
Remove registerLocator from ResourceManagerInterface
Merge pull request #499 from shanethehat/feature/add-resource-manager-interface

Add interface for ResourceManager
Add scenario for feature
Create a named static constructor if it doesn't exist when using beConstructedThrough
Fix minor code review issues

Update array notation
Fix return annotation
Add a !method_exists check
Add scenario for an existing constructor
Remove the generation of a private constructor
Add call to $event->markAsWorthReRunning()
Fix code style issue
Fix code style issue
Pass existing constructor arguments
Replace shorthand array creation method
Check arguments supplied and generate appropriate template

Check if the arguments of the constructor (if one exists) and named constructor match, if they do not add an exception to the generated method.