Refactor devel_packages attribute, add example
Minor code cleanup
Add support for pre-/post-build cleanup