Enhance device contract and provider classes

- add method to build device uri with device id as long
- add NPE check when device provider method delete() is called
Add remove list items via contexual menu