Update codebase to nomlib's latest API on feature/GUI branch

* nom::Gradient API changes; introduce std::vector<nom::Color4i>
support.