Changed the Datepicker renderTPL to accept ExtJS 4.2.x and ExtJS 5.0.x
Changed the collapseIf method inside the Date class to accept ExtJS 4.2.x and ExtJS 5.0.x