Updated with more helpful error messages

Added constant value for version numbering, added null/missing value checks in critical functions, clarified MIT license terms, improved cURL error response handling and added more cURL error information to assist with debugging, fixed bug in bpLog() that threw spurious Warnings for non-string values passed to the function