add TLS range support

- store the TLS module id and it's size if the
  DSO has a PT_TLS segment

- add helper function that computes the actual
  memory range for the calling thread

depends on #416