AUI-1337 Add a title attribute to allow setting its content programmatically

This pull request assumes #82 will be merged to the master.