add purl function documentation

Squashed commit of the following:

commit e8b41aed2f9367b83a5a1c83d2c780546944a523
Author: Yuu ISHIKAWA <yuu.ishikawa@gmail.com>
Date:   Thu Apr 3 13:39:32 2014 +0900

    add purl function documentation