Improved buildContext:
 * Added a RegExp check for named params to better capture only the name part.
 * Added a splat params support