Added clear command

Summary: Added clear command for clearing app data
like databases, shared preferences and cache.