Navitiaii 856

This file contains scrip to upgrade the statistics database. Data type of ids in all the tables are modified to BigInteger from Integer.