Add method to do addDetail, Add option to tag tests.

To add tag 'abcd' to testcase, need to decorate with @test.attr(type='abcd')