Add documentation and simplify the limit gen code

* response to feedback
Merge pull request #41 from kehh/importMysqlSubset

NOJIRA add the ability to only import a subset of records from a MySQL T...