BEANS: fixed converting empty string to attribute value

- When converting string to attribute value convert
  empty string as null, in order to keep equality between
  Oracle and Postgres DB.

  This will also fix case, when attributes are passed in Candidate object.

- Fixed typos in exceptions texts.
Merge pull request #398 from zlamalp/emptyattr

BEANS: fixed converting empty string to attribute value