Start adding Apache 2.0 license

Added the Apache 2.0 license file.
Modified README acordingly.
Added a license header to one file as an example.