Refactored Models getStubMethod method
Replaced compile directives with Sencha Cmd compatible ones