Small changes to make the sample up-to-date

Hi Ben,
I've made a couple of changes to bring the sample up-to-date with Spring 3.2.0.RELEASE imports and added logging which I think people will find useful. Thanks for a great demo! 

-Stan