switch memcached agent script to python and fix polling.


git-svn-id: http://observium.org/svn/observer/trunk@4091 61d68cd4-352d-0410-923a-c4978735b2b8