CBQE-0 move the code before uninstall so that
folders will be deleted properly when uninstall cb server in windows

Change-Id: Ie6844cf266e9f5b3268cc175c870a4cf7f6332c1
Reviewed-on: http://review.couchbase.org/38629
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Tested-by: Thuan Nguyen <soccon@gmail.com>