Implemented sae json reading and writting in all update php functions by verifying that neither the initial nor final json is null
Integrated safe json reading/writting to update skyline. Created sample histogram.json file
Added a feature to count the number of visited images for each category
Removed unnessesary file 'update_histogram.php
'