ResourceParser refactor

There is a weird bug with the PayloadParser with the test commented out in test-ResourceParser.cc. Will fix it tomorrow. Please review this in the meanwhile.
All the utility functions are named with capital letters. (Utility functions meaning, `utility.h` files and `FindParameter` and `FindAction`).

Other than that, everything else, I have been using small letter for the beginning.