Andrew/David - tweaking example to be compatible with 0.7 SNAPSHOT
Andrew/David added application context support.
Merge pull request #1 from andrew-m/master

Added 0.7 SNAPSHOT support