[docs] split layer params in required/optional

Also, make the parameter name come first. This makes it much easier to
find/scan parameters.