Theoretical and Computational Aspects of the Optimized Effective Potential Approach within Density Functional Theory