Code/Doc WP Standards and internationalising

Updating coding and documenting standards according to the WordPress
Core handbook. Also implementing internationalising, introduced a new
$textdomain property to the class.