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.