mds: Fix Session::get_request_count

Signed-off-by: John Spray <john.spray@redhat.com>
EC-ISA: add intelligent table cache
EC-ISA: avoid usage of table cache lock outside the class implementation by introducing the setEncodingTable/setEncodingCoefficient methods