Increase the limit of post request

Default is 100kb but coverage reports might be bigger than that, thus failing to be reported.

Reorganize some code to be cleaner.
Safer way to detect the location of testem
Merge pull request #9 from piuccio/limit

Increase the limit of post request