Added Memory Checking to alert user if memory is too low.  Issue #1796

Added in memory checking before an export or publish is performed. The user will be shown the message: "Whoops, we're out of space. Please make approximately X MB available and try again!" and be moved back to the publish tab.