Changed to a more liberal license due to popular demand.

Undo our blind adherence to habit and applied Apache v2 license to the code.