Cleanup of css+js along with update to latest stable releases of libraries
Implement fluid interface in all entities

Currently the fluid interface of entities is inconsistent. This PR fixes this and adds missing phpdocs as well.
Merge pull request #531 from stloyd/feature/css_js_cleanup

Cleanup of css+js along with update to latest stable releases of libraries