libbeaglelogic initial commit

Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>
testapp: Fix bug with incompatible pointers

Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>
libbeaglelogic.h: Cosmetic changes

The syscalls have been moved to a separate file, hence this change

Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>