President-elect John Mahama has been sworn into office for a second four-year term as President of the Republic of Ghana.