Add documentation target and appledoc run script.
Start adding documentation.
Merge branch 'master' into kt/documentation