Add MIT License headers and other improvements

I am adding MIT to headers to make sure that it is clear that the programs
I write are under a different license than the programs I inherited. I use
MIT for maximum usability.  I believe, in the long term, that the GPL is what
killed PDroid.