Changed Integer and Float matching to limit what it believes a number to be.

Previously, params with values like "m3" would match the M_INTEGER regexp and
would be converted to the Integer 0.
Added tests for previous fix.
Merge pull request #2 from andrewsmith/params-parsing-fix

Params parsing fix