Porting algorithms needed for mvg applets
Porting algorithms that are used by the default configuration for the mvg applets. This includes optimize_cameras, estimate_essential_matrix, and estimate_similarity_transform. Tests were ported as well and the the test for aligned_edge_detection was added as it was missed when that algorithm was ported.