added skip_dots for getDocTree()
corrected $depth, remove unnecessary $depth passing to method _recursiveWrite()
remove unnecessary $depth passing to method _buildTocHtml()