v2 Add copyright headers

Just like the last one, a bit more generalized. Also, PhoneStateReceiver without a couple of unnecessary nested conditionals.