Add rubocop configuration

Follows standards set by other CFX rails projects.
Correct project files for rubocop errors.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update application.js to coffeescript

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Implement Product model

The product model has generic attributes usually
related to a good to be sold or a service to be
rendered.

Category code can be customized to reference the
category table in category maintenance rails engine.

Subtype can be `good` or `service`.

Include test cases.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Implement price model

A product can have many prices, each with an effective
date. This will be helpful in systems that need to keep
track of a product's price in the past or in the future.

Include test cases.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Implement unit of measure and conversion

A product has one base unit of measure and that unit
has a list of conversion factors that records how
to convert that base unit to another unit.

For example, Product A has a base unit of `piece`.
To convert `piece` to `box`, it needs 12 `pieces`,
which is the factor.

Include test cases.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Rails generated CSS for scaffold.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
f with product commit
f with price commit
f with uom commit
f with price commit
f with product commit
Update the db schema

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Implement the front end for the product CRUD

Features include:
- add, edit, delete product (plus base unit)
- list products
- add, edit, delete prices
- add, edit, delete conversion factors to product's
  base unit

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>