VE-1478: Set width, height and position template dialog in the correct place

Moved and renamed method ve.ui.Dialog.prototype.alignToSurface to ve.ui.WikiaTransclusionDialog.prototype.position because it is not a generic dialog method. For instance, to work properly, it depends on dialog being opened for a focusable node. Also, what it does, it's pretty specific (at least at this moment) to this particlar dialog.

Minor fix to accessing template name for displaying purpose - use actually template spec instead of private variables.

Removed the default height for draggable dialog.
VE-1478: JSCS
VE-1478: Change the order of setting CSS propeties

Logic for calculating "left" in case of template being left aligned needs to access outerWidth() which wasn't available, because it was set too late.
VE-1478: Remove small mistake
VE-1478: Properly undo in teardown what's done in position
Merge branch 've-sprint-25' into VE-1478
Merge branch 've-sprint-25' into VE-1478

Conflicts:
	extensions/VisualEditor/wikia/modules/ve/ui/dialogs/ve.ui.WikiaTransclusionDialog.js
Merge pull request #4610 from Wikia/VE-1478

VE-1478: Set width, height and position template dialog in the correct p...