added pifacecad-cmd program
fixed a few bugs and updated docs
Merge branch 'master' of https://github.com/piface/libpifacecad