Added paginated output of group's products, fixed db bugs.
Adding group and products now works, also fixed pagination bug and fixed several issues with submission forms