Update nodes_filter.php

Changed filter from string to array to support several filter criteria
Some code clean ups
Added version string to comment
Merge pull request #5 from dgoersch/patch-5

Update nodes_filter.php