* Changed UziProgram to be able to configure pin modes.
* Added encoding of the program header (scripts count, and pin modes)