Content-Aware Unsupervised Deep Homography Estimation and its Extensions