Improved project licensing and contributor attribution.

Added a CONTRIBUTORS file that is referenced from LICENSE and README.md
Went through all source code files and added a license header.