Implemented simple pattern miner framework.
Merge pull request #509 from shujingke/shujing

Implemented simple pattern miner framework.