create composer.json 

see issues #844 #866