Fix scoping of results in some plugins
results: one bug fix, one new feature, 14 new tests

Bug fix: I tracked down and fixed the cause of NaN in some of my incrementers. It happened when the incrementer was initializing the results store. Tests are added which validate behavior when initialized by add, incr, and push.

New feature: has

Tests a string value or array members for the presence of an exact string match or a pattern match.
spf: added results. refactored to remove duplication
spf: added 15 tests
Merge pull request #521 from msimerson/spf

Looks great.  Merged.
Merge pull request #520 from msimerson/results

Merged
Add protection against transaction gone away
Fix typo...
Merge pull request #518 from smfreegard/fix_results_scope

Merged.