apache/incubator-usergrid — pull request #27 by prj2113 (2014-07-17 23:17:53+00:00)
Title: fix bug and improved code for export

"Fix Bug"
- USERGRID-193
- https://issues.apache.org/jira/browse/USERGRID-193

- The saveConnections() and saveDictionaries() methods are called at the end of SaveCollectionMembers() in file ExportServiceImpl.java, but if collection for an entity was null, then it would just return and not export the connections and dictionaries for that particular entity, thus calling these functions in the start of the method ensures, that all connections and dictionaries are always exported.

"Improve Export Test Cases"
- USERGRID-194
- https://issues.apache.org/jira/browse/USERGRID-194

- Removed redundant code and added testcases for exportOrganization Null pointer checks.

Conflicts:
stack/services/src/main/java/org/apache/usergrid/management/export/ExportServiceImpl.java