Textinput autogrow: Stop using deprecated event "pageshow" in favour of "contentshow" and add some soft-dependency safeguards.