Fixed -l option

Print an error message when invalid loglevel value is provided
Exit with an error code
Merge pull request #56 from swaeku/master

Inform user when invalid loglevel is provided in command line options