CLOUDSTACK-5113: Fix get_template method to return 'BUILTIN' template
by default
CLOUDSTACK-5552 fixed private gateway DB clean up on router upgrade required