improved version of master server

This pull request is being prepared during last several months.
<b>It's current production code which has be tested.</b>
It includes the best of ever suggested during this period.
We tried different approaches but came with the best optimized solution which keeps the database as small as possible, providing enough statistic information.
There is no problems with backward compatibility here.

![msop1](https://cloud.githubusercontent.com/assets/791864/4624117/a33ebc16-535d-11e4-8a26-3128b58ebee0.jpg)

![msop1_json](https://cloud.githubusercontent.com/assets/791864/4624120/b32c4062-535d-11e4-8942-392370322136.jpg)


![mstbl1](https://cloud.githubusercontent.com/assets/791864/4624125/c2a5629e-535d-11e4-92f5-a50b81b754a2.jpg)