Added thread statistics.

Split thread stats script to it's own branch.
Script displays a thread's reply count, image count, page number and thread IDs if the board has that feature enabled.