Repair some small programming errors

- WritableObjectStorage::getFieldRegex was undefined, it should be getFieldRegexFragment
- swap undefined $offset to the $value it should have been
- remove non-existant parameter to ResultDuplicator::getResult
- remove non-existant third param to NoIndexException::__construct

Change-Id: Ibe56ece13b678137d51c395ca2df51688038df44
Merge "Repair some small programming errors"