DFix the code
Merge pull request #443 from Geod24/dfix-code

DFix the code
Avoid catching Error instances in various places. See #443.
Avoid awkward mixture of format() and string concatenation.
Added support for "dub init" to take a list dependencies. It will search for the newest version numbers on code.dlang.org and add the required string to dub.json.
Removed extra tabs...
Added initialisation to m_buildType.
Updated code to match current coding style of project.
Removed unneeded "if" from InitCommand.execute()
Added .gitignore for build files
Added .gitignore for generated VisualD projects etc
Fixed generation of Solution Platform for x64
Added test for init command
Removed test binaries...
Fix get module name from empty string
Fix get module name diagnostic message
Revert version file
Revert "Added .gitignore for generated VisualD projects etc"

This reverts commit e6861879abf41ec500a2e92e4427bd20b49d6c59.
Revert "Added .gitignore for build files"

This reverts commit 184c569cc3ddac01a8e5c97f15504788d5c0a2d6.
Revert "Remove the build type switch for "dub test". See #385."

This reverts commit 2bc77802be0c94e6f01788b3474cc8194f2634a8.

Conflicts:
	source/dub/commandline.d
append a newline when writing dub.selections.json