Added InputMapper classes, updated Regex.

-FEATURE: Added getMatchCount(String, String) to Regex.
-FEATURE: Added InputMapper and StringInputMapper.
-OTHER: Removed the external javadoc and added doc to .gitignore.