Return a Stats object with is*() methods

Apply mscdex comments

allow pseudo-tty allocation for exec()

fix typo

bump version