Judges will be able to hand offenders - including those found to own AI 'paedophile manuals' - long jail terms