Writing portlets documentation
Merge branch '4.0/writing-portlets' into 4.0-trunk