try RPC submitblock and then fall back to submitting via getblocktemplate instead of having it hardcoded to always use getblocktemplate on litecoin

deals with Litecoin finally merging in RPC submitblock