Merge pull request #3 from nubs/master

Add ability to query nodes by role.