Support for explicit plural forms

Support for explicit 0= and 1= forms.
This patch was started by @darkyen and @santhoshtr completed it.