Object reference

http://www.expandframework.com/forum/6-bugs/3387-having-some-issues-creating-detailviews-using-13-1-4-1/3761.html
- NullReferenceException in MasterDetail fixed.

- xpand.build: Market ExternalApplication Projects as dashboard-dependend
(cherry picked from commit 40c472e2a9c4c1f26ee3456fc04e234c801da782)

Conflicts:

	Xpand/Xpand.ExpressApp/Xpand.ExpressApp.Web/XpandWebApplication.cs
	Xpand/Xpand.ExpressApp/Xpand.ExpressApp.Win/XpandWinApplication.cs
	Xpand/Xpand.ExpressApp/Xpand.ExpressApp/ViewFactory.cs
exception when creating detail views

http://www.expandframework.com/forum/6-bugs/3387-having-some-issues-creating-detailviews-using-13-1-4-1.html#3793
- XpandWebApplication merge error fixed
ModelDifferenceModule throws when ThreadSafeDataLayer

http://www.expandframework.com/forum/6-bugs/3407-modeldifferencemodule-and-threadsafedatalayer/3862.html
disable dynamic security members creation when using a non valid datalayer