added some tests and the ability to read rules from a file
added .gitignore
Merge branch 'master' of https://github.com/collins-williams/lexer

Conflicts:
	.gitignore
	lexer.rb