Merge pull request #2 from nixilla/master

Small fix to legacyResolve which was introduced in Grails 2.1.3
Added long support
Merge pull request #3 from deigote/master

Added long support