jslint check
common getConnected refactor with forEach
rewrite getDegrees, sort
combine common in facility_topology and refactor sort, father_son, double_link
remove common.js