Libcin merge

HI Guys,

I created a branch to simplify merging libcin with the latest api on my repository. 

Some notes about this version:
-The write verification is not implemented yet. I have a version that verifies the writes, but it is a bit slow. I will test how much of a delay is needed between the write and read.
-I added a basic error notification chain. All the functions return a pass/fail  parameter except get_trigger_status and cin_get_fclk_status which always return pass (0). We could discuss how the error handling could be improved.

Thanks,
-Jaime

Let me know