Australia dismissed for lowest total against Bangladesh as Hasan Mahmud claims career-best on Day One of first Test.