Minor cast refactor
Cast updates

Added some changes that were made to the official google demo this is
based on, plus a fix for getting the device name
Merge pull request #802 from timhobbs/cast

Cast updates