Added primary key to territory_edge_assignment table.
Fixed placearmies ajax call.