Feature implementation

Changed the form processing algorithm to something more robust

Signed-off-by: Marcel Oomens <Marcel.Oomens@cromido.org>