Bug 1013532 - Prep casting code to enable casting and Roku on Nightly r=wesj