fix issue #1254 Allow the same context to be used multiple times in configuration
Merge pull request #21 from lzhan/merge

Allow the same context to be used multiple times in configuration