Added return type and doc to DocParameter decorator
Moved DocParameters to a function based decorator called params
Added more tests for params decorator