Initial BeagleLogic userspace API and testapp

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