Added gallery widget (PC_gallery_widget).
Added PC_widget::Get_resource_path() and PC_widget::Get_resource_url() for getting path and URL to widget's resources (used from within widget templates).
Added PC_core::Get_rel_path().