LPS-44098 Start by removing the lines in DLFileEntryServiceImpl causing the regression bug

This will fix some errors due to portal thinking that files are locked when in fact they are not. To keep the override checkout functionality I move the checks to the upper levels. Note that this change will remove the 'Cancel checkout' button from the UI but we will add it later.
LPS-44098 Convert <%if%> to <c:if>
LPS-44098 Add FileEntryDisplayContext class to encapsulate button display logic
LPS-44098 Use FileEntryDisplayContext class to decide when to show action buttons
LPS-44098 Implement FileEntryDisplayContext class
LPS-44098 Fix ant format-source warnings
LPS-44098 Remove initDependencies method
LPS-44098 Cancel checkout button should be displayed if the user has OVERRIDE_CHECKOUT and the file is checked out even if the user doesn't have update permission.
LPS-44098 isLockedByOther should be named isCheckedOutByOther
LPS-44098 Run ant format-source
LPS-44098 SF