various changes for 1.4.5

git-svn-id: https://plugins.svn.wordpress.org/loco-translate/trunk@914519 b8457f37-d9ea-0310-8a92-e5e31aec5664
added some tests

git-svn-id: https://plugins.svn.wordpress.org/loco-translate/trunk@914520 b8457f37-d9ea-0310-8a92-e5e31aec5664