Added support for grails asset-pipeline

Made this plugin multipurpose so it could work with either resources plugin or asset-pipeline.