It is the purpose of the Emancipation of Minors Act to provide a clear statement defining emancipation and its consequences and to permit an emancipated minor to obtain a court declaration of his status.