Minor bugfixing

* Changed target names in deploy scripts
* Modified the order in wich sql are added in prepare db script
* Adapted test data to latest changes
Use BigDecimal instead of double in SelectElement dialogs

double type are very inconvenient for equal comparissons, and this
causing troubles comparing when q_usar is bigger than q_eco
Most of enability checks are moved to its own class