Update scraper.php

Added below listed new methods
1. table2td2array
2. checkCacheAvailable
3. readCache
4. writeCache