Add command-line frontend (with only dummy actions).
Add generic file descriptor read function to utils.
Merge branch 'master' of github.com:Doodle3D/print3d

Conflicts:
	src/utils.h