java: Add helper method to filter Permissions by tags

This was added to help simplify permissions management for Syncbase.

Note: This might belong in the security package in the future though.
Change-Id: I8e42b919610b6f0816de13c1a7777b91f4f22d11
2 files changed