Added documentation to hostapi and pa

Also fixed the return type of hostapi::get_count