add search for coinbase params,

plus fixes from review
Merge pull request #52 from adamlofting/Bug1102235

Fixes Bug 1102235 - add search for coinbase params