Dynamically detect when running under Unity: Bug #737258

This removes the --enable-unity ./configure flag in favor of detecting
the UI shell at runtime.