Refactored the stirling function to a class-based Function.

Hello everyone! I'm new to sympy and I'm applying for GSOC 2014. I've found that stirling function in functions.combinatory.numbers needs to be refactored. Here's a patch.