add your own tokens to the patternLayout
added some documentation to the function header
fixed small issue that could occur with wrong evaluated parameters
added example on pattern tokens usage
updated require in example to match other examles
Merge pull request #113 from bitcloud/patternLayout_tokens

add your own tokens to the patternLayout