Added filteredTree()

Modified using Jan's improvements.
Merge pull request #18 from vjandrea/2.0

Added $columns parameter to tree() method and added new filteredTree() method.