Handled exception from cmd_parser
handled InvalidParametersError from cmd_manager
edited to follow the coding style guide
fixed the throw from --all-tags
handled other exceptions
Merge pull request #62 from rakina/master

Exceptions in CLI's main function handled.

Related to issue #45 and Pull Request #62