UI: remove uneeded canvas.reload calls from attack cycle

Also adds attack vector to position tracker so that components
array isn't modified & reload call isn't needed.
Increase mining, transfer, docking distance config
UI: fix tests broken by recent commits

Few tiny fixes to js components themselves,
self explanatory
UI: add tests for ship attack movement
UI: add tests for construction dialog
Comment updates, change default log level to info

Also adds Location#direction_to helper