First librarised version of sr595
Removed references to malloc() and like programs
Fixed the port direction setting bug
Fixed an issue with silmutaneous loading of multiple registers in serial mode
added an option for inverted output
Added a function to force clear bits
Added force option to writeByte
Code cleanup.