Fixed session::clone in case of empty groups
Added local_session::lookup
Added support for cache lookup command
Fixed prepare_latest command
Added tests for lookup and prepare_latest
Merge pull request #212 from euroelessar/master

Fixes in lookup, prepare_latest and session::clone