App.running? - query whether internal server is running
App.running? - query whether internal server is running

This is useful in the case where you embed a Sinatra::Base app
inside of a thread within your application, and want to be able
to wait for the Sinatra app to spin up before running any other
code.

Original patch by dbalatero: http://tinyurl.com/lkr5fa

Signed-off-by: Ryan Tomayko <d1f05aa9451a08289b556bf689f87072a26bd23a@gmail.com>

blambeau/sinatra,Wirachmat/sinatra,jkowens/sinatra,gferguson-gd/sinatra,ksw2599/sinatra,miyazawatomoka/sinatra,ktw1222/sinatra,siberianbear/sinatra,autopp/sinatra,ganmacs/sinatra,jenalgit/sinatra,midorineko/sinatra,defsprite/sinatra,QLGu/sinatra,kumji/sinatra,burningTyger/sinatra,howtolearntocode/sinatra,ksw2599/sinatra,lastcat/sinatra,RosenDimov/sinatra,JonRowe/sinatra,kyontan/sinatra,guidohcosta/sinatra,autopp/sinatra,d-bot/sinatra,Rayheng/sinatra,DoraALin/sinatra,twanies/sinatra,JonRowe/sinatra,mwpastore/sinatra,porras/sinatra,Callygraphy/morrissey,nicoayala/sinatra,howtolearntocode/sinatra,guidohcosta/sinatra,emiliocorpus/sinatra,midorineko/sinatra,jkowens/sinatra,kgrz/sinatra,DoraALin/sinatra,siberianbear/sinatra,trexnix/sinatra,nottombrown/old-sinatra,defsprite/sinatra,ABaldwinHunter/sinatra-classic,sethuster/sinatra,wzheng1/sinatra,burningTyger/sinatra,frechei/sinatra,ryanshaw/sinatra,frechei/sinatra,ABaldwinHunter/sinatra-classic,laplaceliu/sinatra,nottombrown/old-sinatra,wzheng1/sinatra,miyazawatomoka/sinatra,QLGu/sinatra,mwpastore/sinatra,nicoayala/sinatra,marocchino/sinatra,porras/sinatra,ganmacs/sinatra,JonMidhir/sinatra,sethuster/sinatra,bmizerany/sinatra,davydovanton/sinatra,d-bot/sinatra,JonMidhir/sinatra,mwpastore/sinatra,davydovanton/sinatra,sinatra/sinatra,nju520/sinatra,jkowens/sinatra,burningTyger/sinatra,eileencodes/sinatra,dariubs/sinatra,Rayheng/sinatra,twanies/sinatra,cyberid41/sinatra,jenalgit/sinatra,lastcat/sinatra,gferguson-gd/sinatra,trexnix/sinatra,laplaceliu/sinatra,kyontan/sinatra,nju520/sinatra,eileencodes/sinatra,Wirachmat/sinatra,kumji/sinatra,ryanshaw/sinatra,sinatra/sinatra,ktw1222/sinatra,RosenDimov/sinatra,JonMidhir/sinatra,emiliocorpus/sinatra,dariubs/sinatra,cyberid41/sinatra