Added logic to filter out expired VApp Templates.

Only created pull request for 2013.02 branch. Need to change some more for develop branch.