New API call sb.analyzename

I needed a way to figure tvdbid, season and episode(s) out of a name string.

As this is already done while postprocessing, this code is mostly cloned. There might be a better way to do this without code duplication. Maybe the process should be moved to a more general place and then could be used by ``Postprocessor._analyze_name()`` and the api?