page: implement textAttributes property

Implements a `textAttributes` property on the `Page` object, which retrieves text information that can be used in combination with the `asText` method.