Split out param name extraction.

Hello @nicks, 

Please review the following commits I made in branch 'jamie-extract-param-names'.

2ace69f0d48f7928b630feda0d25b879dbca127a (2014-01-23 15:56:05 -0800)
Split out param name extraction.

R=@nicks