add filescanner and basehandler classes

Add a BaseHandler class to be used as base for filescanner.
The BaseHandler class implements a push/pull scheme for messages
so that the filescanner can push it's messages on to targets.
Merge pull request #2 from offa/add_file_scanning

add filescanner and basehandler classes