Async getDevices, closes #3. Fixed #42.