Update alfred.py; tidy up; fix

- Add latest version of alfred.py to fix Unicode normalisation problems
- Replace duplicated functionality with alfred.py features
- Use more Pythonic idioms where appropriate
- Increase number of results sent to Alfred from 9 to 50
- Remove `exit` call in library to give control to calling code
- Fix config/setup keyword mix-up between code and Run Script action
- Remove *.pyc files from repo
- Add .gitignore to keep *.pyc files out of source control
- Remove TextEdit as editor for JSON config

By default, TextEdit will break the JSON by using "Smart Quotes"
The config file should be opened with the user's default editor
for JSON files, which will presumably do a better job than TextEdit, and
can hardly be worse.