Refactored ReflectionUtils
Made it more DRY
Merge pull request #56 from tototoshi/refactor-reflectionutils

Refactored ReflectionUtils