BugID: 97163

Making sure that the promise of getting messages is resolved before
using them.
BugID: 48494 - restyling of error messages in edit preview modal

git-svn-id: svn+ssh://svn.wikia-code.com/svn/wikia/trunk@60815 e846bd91-c042-42a7-a218-4b65e2c1904d

Conflicts:
	extensions/wikia/Oasis/Oasis.i18n.php