Refactored and simplified ReflectionUtils while at it Added ReflectionUtilsTest This closes #260. Signed-off-by: Aldrin Piri <aldrin@apache.org> With adjustments to formatting and whitespace. Signed-off-by: Aldrin Piri <aldrin@apache.org>