Remove `unstd.traits.{isNested,hasNested}` as it is added to Phobos.

D-Programming-Language/Phobos#948 is merged now.
Replace `unittest.d` wit `-main` compiler switch.
Don't compile unittests in `Debug` build.
Disallow use of deprecated features.