added m2e lifecycle-mapping plugin configuration so that the project can be imported to eclipse m2e without errors. this should have no negative effect on those using other ide's or doing command line maven builds.
resolved NPE resulting from null ContextSelector happening because ContextSelectorBinder was not initialized. also made it possible to configure using either groovy or xml. previous implementation only worked with xml config.
Merge pull request #6 from kaxelson/master

Fix to allow configuration through Spring using Groovy or XML