Fix object directory for -op switch in the VisualD generator and prepare for different project file directories.

Future versions may choose to put the project files in the .dub directory (the solution file will still stay in the project's root directory).