Fixed issues when adding empty feature type.

The count of unstaged elements was reported as zero, ignoring the added tree if it was empty

This PR fixes https://github.com/opengeo/GeoGit/issues/252.