LPS-31543

Explaination of changes:

1. Check where ant create was called from:

	If outside of sdk, hardcoded path in build.xml result:

		<import file="/home/shinn/ezra/6.2.0/liferay-plugins/hooks/build-common-hook.xml" />

2. Change the way project.dir is calculated.

	Before:

		<property name="project.dir" value="../.." /> -> "/home/shinn"

	After:

		<dirname file="${ant.file.build-common-hook}" property="plugin.basedir" /> -> "/home/shinn/ezra/6.2.0/liferay-plugins/hooks/"
		<property name="project.dir" location="${plugin.basedir}/.." /> -> "/home/shinn/ezra/6.2.0/liferay-plugins/"

Both behaviors are backwards compatible (tasks run from the sdk context).