Added better error reporting to libca-cas

Human readable error messages can now be retreived through ca_cas_set_error().

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>