Add multi-pattern support.
Fix trailing character bug.
Fix trailing format char bugs for persistent false.
Merge pull request #38 from braintreeps/master

Add multi-pattern support.