added shutdown support need to write tests
Merge pull request #259 from fridgei/master

added shutdown support
merge aparo master
Merge branch 'master' of git://github.com/aparo/pyes into HEAD
changes to support model classes derived from ESModel
fixed annoying model bug
Merge branch 'master' of github.com:scoursen/pyes into HEAD
fixed annoying model bug