Modify check-dependencies.py

1. Check python version > 2.5
2. If unable import rrdtool optional+1
Merge pull request #621 from dongweiming/check_dependencies

 Modify check-dependencies.py