Update shodanalyze.py

Added template classes and methods for:
- scanning methods
- ip range and cidr resolution.