applied patch from https://drupal.org/node/2157789 to enable storage of test API keys and switching between test and live keys.
merged test mode patch.
Use a #post_render callback and regex string operations to remove the name attribute from the form inputs.