Making greetings option actually allow function instead of string

In the docs it says: 
greetings [string|function(callback)] — default is set to JQuery Terminal Singnature. You can set it to string or function (like prompt) with callback argument which must be called with your string.

I just added the code that allowed you to use a callback.