kernel: implementa get_object() a partir de documents.

Signed-off-by: Francisco Prates <mad.kanie@gmail.com>