Add synaps metering function
fix bug SMS metering
retry when metric is not found in the database
API Spout is now using greenthread
Merge branch 'master' of https://github.com/spcs/synaps