move thread code around in file
add GetAllThreads wrapper
add optional thread argument to lj_get_stack_frame() and lj_get_frame_count()
add properties for "frame_count" and "frames" to Thread objects