configure build dependency for CastCompanionLibrary
gradle upgraded to v1.12
refactored to use CastCompanionLibrary
readme corrections