Buffer manager speeding up. Map is used now to find loaded pages

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>