Added optional device_sn argument to uninstall app method.
Moved delete package to devices resource.