update to 1.4.0 with rails 4 folder organization
drop obsolete custom build support
update import script to sugar 1.4.0