picoC: add separate library code, cleanup source

For better readability of the library functions are they separated from
the module. picoc specific defines are moved into "platform.h". Add
"uavo.h" , picoctest-function as a prototype and access level for
further UAVO communication.