Added 'handler' option, modified README and tests accordingly;
some Mac OS/X covenience rules added to .gitignore;