Match.toMap() to get match in java Map.

currently only Match.toJson() is available to get match.

Match.toMap() returns match in Map. which is good for some case (unit testing, java application embedding grok-java, etc)

also i have added the most basic unit test class.