added docs and specs. (cherry picked from commit d36aaccac815cdf7ffe821940bfcac10942914db)
added docs and specs.
(cherry picked from commit d36aaccac815cdf7ffe821940bfcac10942914db)

Conflicts:

	src/api_refac.erl

arcusfelis/wrangler,tdb/wrangler,andrzejsliwa/wrangler,prowessproject/wrangler,arcusfelis/wrangler,bsmr-erlang/wrangler