MOBILE-3062 - Basic validation and error handling for folder creation

We always wrap single-line conditional code in braces to try to prevent future maintenance bugs
```objectivec
 if (folderName.length == 0)
{
   return isValid;
}