2nd attempt to fix Nemo#594 

Obtain path for device-info xml from environment. 
If $HOME not available find lowest uid from /etc/login.defs and home dir matching that from /etc/passwd. 
+ unit test for both cases.