validate composer.json, fixes #1
remove user-specific files.

fixes #2
remove commented code, and unused variables

fixes #3, #4 and #5
add composer type

fixes #6