Support remote method aliases

The recent strong-remoting versions merge all `SharedMethod` entries of the same function into a single entry with `aliases` property holding alternate names. That caused the code-gen output to include only one the main name (e.g. `deleteById`) and omit aliases (e.g. `destroyById`).

This patch fixes the problem by creating resource methods for all aliases.

Close #51.

/to @ritch 
/cc @raymondfeng