[*] CORE : Get instance of current category in category controller

Get instance of category in for eg. module hook using:

$category = $this->context->controller->getCategory()

instead of

new Category(1,1);