LB-1662 Initial fix.

Added error handling for blog resource failing.
Added general timeout for server side requests.
Internationalization isn't failing if the resource wasn't loaded.
LB-1662 Events error handling.

Added dispatcher mechanics to handler request failing.
Undefined all themes related requirejs modules before theme loading and
on error.
Remove Request failing events on first load, and then add them, an set
behaviour.
LB-1662 Refactored requirejs clear cache method.

Use a object instead of an Array.
LB-1662 Review changes

Added Todos for errors codes.
Changed sended variable to sent.
Merge pull request #107 from nistormihai/master

LB-1662 The nodejs server is crashing when the SEO html generation is initiated