LPS-42107 Fix, if checking portlet mode with p_p_mode parameter, also  p_p_id has to be checked
LPS-42107 Fix, embedded portlet should be always at view mode.