refactored to comply with jshint
moved jmdns to own directory
moved procedure to acquire multicast lock to initialization. fixed #4