Clang 3.0: Fixed all (reasonable) warnings obtained with -Weverything.

This may also fix mem leaks due to missing virtual destructors for expression manipulation base classes.