Fixes handling of UTF-8 encoded project files.
CB-6939 Replace dash chars in package name and validate it.
CB-6924 Fixed memory leak in WP page navigation

Occurred when navigating back and forth from native to hybrid page.