Updates to support method aliasing:

 * improved extend function
 * allowed request header to be defined at API level
 * change default path to '/'
 * added concept of 'alias' config param on method.