Data required now accepts 0 as non empty input

Fix for issue #91
Also add pycharm .idea to gitignore for convenience