Fixed gitignores and added all required PHP and JS/CSS libs, until we have a better solution for handling dependencies.