removed some useless code from Nudge.lua and put libraries in locals for faster access
fixed tagMap of LineExtend

Some values weren't exact enough or just wrong
fixed & improved common functions

Some common functions were slow because of bad design, contained garbage code or "polluted" global scope.
cosmetic changes to Common.lua

Removed postspaces, chose more fitting variable names, added missing spaces between function arguments (one style)