Fixed membership provider to correctly log failed attempts.
Correcting issue introduced in d3b69e04e1e5f5620e18c805d5cf0b265f140f96 where the returned IProfile would contain the Username and not the Name. This will have changed the Creator and Writer name in the xml cache to be the Login instead of the Name of the user, so for those that use these fields its important to republish to update the xml cache.

Fixes U4-2628 creatorName and writerName should use username - not loginname. Also verified through file history back to v4.
Promise for the changed unit test was incorrect, so correcting it in this commit
Moved WriteLiteral method to UmbracoViewPage

When we use a custom model through a custom controller, in our view, we
inherit from UmbracoViewPage, so the WriteLiteral method, which provides
preview badge and miniprofiler code, should be placed there.
Merge pull request #79 from sniffdk/6.1.4

Moved WriteLiteral method to UmbracoViewPage
Fixes: U4-2627 Ensure that the plugins cache files are named with the machine name
Merge branch '6.1.4' of https://github.com/umbraco/Umbraco-CMS into 6.1.4
Fixes: U4-2632 Remove the recursive permissions check on the move/copy dialog
Optimized WriteLiteral
Fixes: U4-2637 Error adding a User using AD Membership Provider when no Email Address Defined
Merge pull request #78 from dprothero/6.1.4

Fixed membership provider to correctly log failed attempts.
Merge pull request #80 from ThomasSkyldahl/6.1.4

UmbracoViewPage.WriteLiteral(object value)  optimized memory usage and combined markup injection
Fixes merge issue
Fixes:  U4-2642 Make SQL CE more resilient to server crashes
Fix unit test that was looking at the wrong filename
Fix a strange VS2012 build targets problem
Fixes: U4-2653 BeginUmbracoForm should use absolute path with query string URLs without the protocol
Merge branch '6.1.4' of https://github.com/umbraco/Umbraco-CMS into 6.1.4
Changes the cache keys in PluginManager to reference a const to make it a bit more clear.
Merge remote-tracking branch 'origin/6.1.4' into 7.0.0

Conflicts:
	src/Umbraco.Core/Umbraco.Core.csproj
	src/Umbraco.Tests/BusinessLogic/BaseTest.cs