fixed problem with adding/removing listener for database change notifications
added Alloy sync adapter to TiTouchDB project