framework/eventloop: Add closing loop when all works in loop are finished.
framework/eventloop: Add closing loop when all works in loop are finished.

uv_loop_close is a function to clean used resources for loop.
It should be called when running loop is finished, there are 2 cases below.
 - Request for stopping loop
 - No event to be processed in loop

JeonginKim/TizenRT,JeonginKim/TizenRT,chanijjani/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,jeongarmy/TizenRT,junmin-kim/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,jsdosa/TizenRT,pillip8282/TizenRT,jeongarmy/TizenRT,HONGCHAEHEE/TizenRT,jsdosa/TizenRT,chanijjani/TizenRT,davidfather/TizenRT,chanijjani/TizenRT,an4967/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,davidfather/TizenRT,pillip8282/TizenRT,junmin-kim/TizenRT,sunghan-chang/TizenRT,Samsung/TizenRT,HONGCHAEHEE/TizenRT,Samsung/TizenRT,Samsung/TizenRT,JeonginKim/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,HONGCHAEHEE/TizenRT,an4967/TizenRT,sunghan-chang/TizenRT,jsdosa/TizenRT,davidfather/TizenRT,jsdosa/TizenRT,chanijjani/TizenRT,Samsung/TizenRT,HONGCHAEHEE/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,davidfather/TizenRT,an4967/TizenRT,an4967/TizenRT,an4967/TizenRT,jeongarmy/TizenRT,JeonginKim/TizenRT,sunghan-chang/TizenRT,davidfather/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,chanijjani/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT,JeonginKim/TizenRT,jeongarmy/TizenRT,junmin-kim/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,Samsung/TizenRT,davidfather/TizenRT,HONGCHAEHEE/TizenRT,chanijjani/TizenRT,jeongchanKim/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,pillip8282/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,jeongarmy/TizenRT,JeonginKim/TizenRT,jeongchanKim/TizenRT,pillip8282/TizenRT,HONGCHAEHEE/TizenRT,pillip8282/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT