Added functions check/2, parse_and_check/2, and format_error/2
Merge pull request #22 from saleyn/parse_and_check

Added check/2 and parse_and_check/2 functions to verify all required options