started api implementation

Changed apiPrinterState() method to POST for consistency with the rest of the api calls

Api methods added:
- get file list
- select an existing file (load) and posibility to start a print
- move axis or extrude/retract
- turn off motors and control fan speed (0-255)

This is a preliminary version. Tested an working with a Prusa i3