Work on jenkins scanner

Hi @jamcut,

This pull request tries to clean https://github.com/rapid7/metasploit-framework/pull/2383

* Switch to 2-spaces soft indenting:
* Add the correct module plate
* Report to database all the interesting things
* Change filename as proposed as @todb-r7
* Several small fixes, cosmetics and clenings

Feel free to review, test, discuss anything and land once you feel comfortable so https://github.com/rapid7/metasploit-framework/pull/2383 will be automatically updated and ready to go I think!

Thanks for collaborating!