params attribute in nette 2.1 and composer.json

change params["appDir"] to parameters["appDir"] (nette 2.1)
added composer.json