*added manual SP grants/revoke historical data to the sp database
*added RPC call getgrants_MP to show this historical data
* More bugfixes