Update smogdex command: add option to link to doubles formats analyses

Add a third optional parameter to link to a vgc2012, vgc2013, 
or doubles analysis. It only works for gen 5 onwards. If you 
intentionally don't set generation, it will default to 
latest generation and check the parameter for doubles.
Fix styling in last commit
Crash hotpatch gracefully and inform of the exact error
If a hotpatch fails, it now fails gracefully and informs of the
error stack trace.
Move Doubles from othermetas command to tiers command

Since Doubles is going to be official from gen 6 on and it's 
on adaptation period, show it on tiers now so users get 
used to it.
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' of https://github.com/Cosym/Pokemon-Showdown