Add unit tests for webapp type and utils
Confine to gentoo
Add a prefetch method
Ensure :present by default
Update parameters and properties
Refactor the utility methods
* Make build_opts smarter
* Add parse_resource to parse a resource into a hash