CRM-12133 option value create value & weight

CRM-12133 fix default handling to be in BAO layer, also add tests on component_id & add to xml
comment tweak
fixes to value and weight handling CRM-12133
CRM-12133 per https://github.com/civicrm/civicrm-core/pull/188#discussion_r3442600 only set defaults if NULL, NB this is not subject to any unit tests so I have some reservations about changing it from prev behaviour but totten's comment seems reasonable
CRM-12133 - api/v3/CustomSearch - Fix option_group_id error
CRM-12133 - api/v3/ReportTemplate - Fix option_group_id and component_id errors
CRM-12133 - CRM_Core_BAO_OptionValue - Fix copy-paste error
-- fixed multi-lingual upgrade script, for CRM-12142
CRM-12014
worked on CRM-12155, delete records from civicrm_financial_item
webtest fix : using clickLink for ajax form save results in timeout error as, clickLink waits for page to load which doesn't happen in ajax form save.
webtest fix : fixed broken path building due to wrong argument
webtest fix
test fix and improvement
-- webtest fixes
fix for webtest WRT changes done for CRM-12120
--fixed for CRM-12141
Merge pull request #216 from pratik-joshi/webtest-fixes

Webtest fixes
Merge pull request #217 from pratik-joshi/webtest-improvement-fixes

test fix and improvement
Merge pull request #218 from ravishnair/webtest-fix/improvement

-- webtest fixes