Issue #107

Fixes #107. Amended regex PARAMETER_IDENTIFIER to allow % encoded characters and added tests for valid, invalid and incomplete % encoding.