Update register.php

Add <div class="editfield mandatory"> </div> to basic-details-section fields
Replace <div class="editfield"> by <div <?php bp_field_css_class( 'editfield' ); ?>> in profile-details-section