add the method optional() who disables the checks if value is undefined
add documentation on README
add curly braces to respect the coding style
adds tests for optional() method
Merge pull request #95 from BAKFR/optional_arg

Check optional inputs only when they are defined