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
Updated the model mappers to include the pre-value value which is now wired up to the display, now just need to get the data type's persisting.
Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0
Added some overloads to the data type service to be able to save data types + pre-values in one transaction, and also to be able to update pre-values (before we could only insert). Got the data type editor now validating and saving values back to the db. Updated the content views (content/media) to have a correct form structure with ng-submit working.
Got validation working properly with pre-values, updated the content editing helper to be more generic and work with different editors like the data type editor that supports umb-property.
Updated the data type controller post method and moved validation, etc... over to a filter, updated data type tree with the create menu action to launch into a blank element.