GPRESOURCES-213 - allow custom writers/types for the stashing feature

Contains the implementation as well as integration tests for ticket [GPRESOURCES-213](http://jira.grails.org/browse/GPRESOURCES-213).

After merging, you can use custom stash types and writers, it'll remove the current limitation via the hardcoded set of types (script and style only).