Added license information into header of each files. Fixed Windows 8 and Windows Phone solutions to compile again.