Create vagrant virtualbox machine according to host capabilities

Virtual machine total memory and cpu count are set to match host
capabilites or to sane default values, if capabilites can't be detected.