Fix UTF8 compile error on Linux
    
Was producing javac error "unmappable character for encoding UTF8"
Fixed javadoc compilation error.

- The source files contains characters in the ISO-8859-1 character set.
  If the environment is configured with a different default character
  set, then javadoc will produce warnings during its compilation phase.
  To fix it, this patch sets the correct character encoding in the
  javadocs build target.
Changed permissions.

Fixed the permissions for the image and source files. Images and sources
should not have executable file permissions.
Changed jar and jnilib file permissions.

Changed file permissions of commons-deamon.jar file as well as
libgdalalljni.jnilib file by removing executable flags.
Removed embedded external code.

Removed the jackson embedded source and changed the build.xml file to
reference the external jackson jar during the compilation process.
Cleanup tests.

- Removed as many main methods as possible in the tests. If the new
  junit-annotation are used, ant can pick up which test methods to run.
  In cases where tests are nested, the temporary fix is to use the
  @RunWith(Enclosed.class)-annotation at the top of the class to
  indicate that nested static classes should be scanned for test
  methods. Also, removed "extends from TestCase" clauses as this is not
  needed anymore. The side-effect of this is that a lot of static
  imports were added for assertEquals, assertFalse, etc.
- Reformatted import statements to conform to java best practices (i.e.
  do not use star imports). Then, replaced org.junit.Test with Test, and
  added import statements where needed. Also, removed java.util.
  prefixes and added necessary imports.
- Currently, three tests are being ignored. The first two:
  ShapeAttributesTest and IconLayerTest are failing. While
  MilStd2525IconRetrievalTest is taking too long to execute (it is
  downloading the interwebs). Some upcoming commits will hopefully
  address these issues.
Cleanup tests continued.

- Renamed some of the tests to follow a consistent structure.
- Sorted out the import statements of these tests (replaced star imports
  with corresponding imports for specific classes).
- Also, since these tests are to be executed manually, all three of them
  should be ignored by junit. Thus, added the @Ignore annotation at the
  top of the class declarations.
Flattened some of the tests.

Removed unnecessary inner test classes by moving tests out into top-most
class. This resulted in the removal of @RunWith(Enclosed.class)
annotation for these tests.
Fixed ShapeAttributesTest.

The nested BalloonAttributeTests class was missing a call to
setMaximumSize. This resulted in a NullPointerException inside the
BasicBalloonAttributes.getRestorableState (on line 414). However, this
is probably not a very good fix. It allows the unit test to pass, but
some additional error handling needs to be added to the
BasicBalloonAttributes class to prevent this from happening.
Replaced Assert.fail() with @Test(expected=...).

Removed the Assert.fail() calls as well as the try-catch blocks and
replaced it with a much cleaner (and easier to understand)
@Test(expected=ExpectedException) clause. However, here and there a call
to fail() remains that needs further investigation to see if it can be
replaced.
Merge remote branch 'fananta/patch-1'