fixed copy paste error
implemented the possibility to pass a defined log function
fixed the false test setup
ignored .idea
Revert "ignored .idea"

This reverts commit 8975f4703235873eb7f99e2d397e9fccde257181.
Merge branch 'baminteractive-master'
Merge branch 'pr/1'

Conflicts:
	lib/ipfilter.js
	test.js
Merge branch 'master' into pr/1