Added the ability to change the shell.

The README now specifies how. The license was also changed to accomidate
the new code imported from the `inih` project.
Reformatted the README and some of the code.