Fixes #825 - Performance improvements for parsing and caching of the device list

Hi, another christmas present :-). Some small performance improvements for the parsing and caching of the device list. In total this cuts down the time needed to refresh the dummy data from about 7s to 3s on my Moto X and might also fix #825