Switching to Bootstrap and using common JS functions

Large update to switch the UI to Bootstrap and to use some common
functions to avoid unnecessary redundancy.

Using Font Awesome icons.
Added a purchase module

Basic module, not yet finished but can generate some requisitions.