Update RoutersResource.java

Added the functionality of setting external gateway to a router.